using System;
using System.Data;
using System.Collections;
using BEGDC.CC.Entity;

namespace BEGDC.CC.BL.AdvancedSearch
{
	/// <summary>
	/// Summary description for IUser.
	/// </summary>
	public interface IAdvancedSearch
	{
		#region Get
		BEGDC.CC.Entity.AdvancedSearch GetAdvancedSearch( int searchID );
		#endregion

		#region Query

		/// <summary>
		/// Get My Search List
		/// </summary>
		/// <returns>My Search List</returns>
		DataTable QueryMySearchList(string employeeId);

		DataTable QueryMySearchList(string employeeId, string searchType);

		DataTable QueryList(string searchSQL);

		/// <summary>
		/// Add a new AdvancedSearch
		/// </summary>
		/// <param name="item"></param>
		/// <returns>int</returns>
		int AddAdvancedSearch(BEGDC.CC.Entity.AdvancedSearch item);
		/// <summary>
		/// Add a new DicType
		/// </summary>
		/// <param name="type"></param>
		/// <returns>int</returns>
		int SaveAdvancedSearch(BEGDC.CC.Entity.AdvancedSearch item);


		void DeleteSearchById( int searchId );
		

		#endregion
	}
}
